<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <title>我的提问-弹窗</title>
    <link rel="stylesheet" type="text/css" href="__CSS__api.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__aui.css" />
    <style>
        html,
        body {
            height: 100%;
        }

        html {
            background-color: transparent;
        }

        body {
            background-color: rgba(0, 0, 0, 0.2);
        }

        .content {
            color: #333;
            font-size: 0.75rem;
            background-color: #fff;
        }

        .edit {
            height: 2.5rem;
            line-height: 2.5rem;
            text-align: center;
        }

        .gray {
            height: 0.5rem;
            background-color: #F5F5F5;
        }
    </style>
</head>

<body class="flex-wrap flex-vertical">
<div class="flex-con" tapmode="active" onclick="history.go(-1);"></div>
<div>
    <div class="content">
        <div class="edit underLine" tapmode="active" onclick="fnEdit(1);">
            编辑
        </div>
        <div class="edit">
            <div class="flex-con" tapmode="active" onclick="fnEdit(2);">删除</div>
        </div>
        <div class="gray"></div>
        <div class="edit" onclick="history.go(-1);">取消</div>
    </div>
</div>
</body>
<script type="text/javascript" src="__JS__api.js"></script>
<script type="text/javascript" src="__JS__tt.js"></script>
<script type="text/javascript">
    apiready = function() {

    }
    //编辑、删除
    function fnEdit(num) {
        if (num == 1) {
            location.href='{:url("my/wenda_huida")}';

        }else{
            alert('删除成功');
            history.go(-1);


        }
    }
</script>

</html>
